package HomeWork;

/**
 * @description:
 * @Author yyp
 * @time
 */
public class HomeWork08 {
    public static void main(String[] args) {
        Color c = Color.BLACK;
        c.Show();
    }
}

enum Color{
    RED(255,0,0),BLUE(0,0,255),BLACK(0,0,0),YELLOW(255,255,0),GREEN(0,255,0);
    private int red;
    private int green;
    private int blue;

    Color(int red, int green, int blue) {
        this.red = red;
        this.green = green;
        this.blue = blue;
    }
    public void Show(){
        System.out.println(red+" "+green+" "+blue);
    }
}
